<!-- Begin issues/invoice_add.tpl -->
<form method="post" action="?module=issues&action=invoice&issueid={$smarty.get.issueid}&sub={$sub}&inpid={$inpid}" enctype="multipart/form-data">
{opentable}
{if $sub eq 'add' }
{titlebar colspan=2 title=$lg->invoice_add}
{else}
{titlebar colspan=2 title=$lg->invoice_edit}
{/if}
<tr >{$mtime}</tr>
<tr >{$fstat}</tr>
<tr align="center">
	<td class="sectiontableheader" width="10%">{$lg->task}</td>
	<td class="sectiontableheader" width="20%">{$lg->cost}</td>
	<td width="70%"></td>
</tr>
{foreach from=$t_task key=ttask item=s_task}
<tr>
	<td align="center" class="sectiontableentry2">{$ttask}</td>
	<td class="sectiontableentry1">
		<input name="T{$ttask}" type="text" value={$s_task.cost} size="7" maxsize="7" />
		<select name="D{$ttask}" width = "10">
				<option value="1" >{$lg->timeH}</option>
				<option value="8" selected="selected">{$lg->timeD}</option>
		</select>
	</td>
	<td></td>
</tr>
{/foreach}
</table>
<input type="submit" name="save" class="button" value="{$lg->save}" />
</form>
<!-- End issues/invoice_add.tpl -->

